//
//  WWWeekWeatherNightCollectionViewCell.m
//  WhatWeather
//
//  Created by byn on 16/3/22.
//  Copyright © 2016年 byn. All rights reserved.
//

#import "WWWeekWeatherNightCollectionViewCell.h"
#import "WWWeatherInfo.h"
#import "UIImage+Extend.h"

@interface WWWeekWeatherNightCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *nightImageView;
@property (weak, nonatomic) IBOutlet UILabel *nightWeatherTextLabel;

@end
@implementation WWWeekWeatherNightCollectionViewCell

- (void)configureCell : (DailyForecast *)dailyForecast {
    UIImage *image = [UIImage imageNamed:dailyForecast.code_n];
    [_nightImageView setImage:[image imageWithTintColor:[UIColor whiteColor]]];
    _nightWeatherTextLabel.text = dailyForecast.txt_n;
}

@end
